html, body {
	height: 100%;
	margin: 0;
	font-size: 12px;
	color: #810600;
}

a:link,
a:visited {
	color: #810600;
	text-decoration: none;
}

/* Index page */
.welcome-container {
	margin-top: 0;
	margin-bottom: 0;
	padding: 20px 10px 90px 10px;
	background: url(../images/info_bg.png) no-repeat;
	background-size: 100% 100%;
}

.welcome-container > header {
	padding-top: 10px;
	padding-right: 15px;
	text-align: right;
}

.welcome-container > main {
	padding-top: 10px;
	text-align: center;
}

.welcome-container > footer {
	position: absolute;
	top: 102%;
	height: 22%;
	text-align: center;
}

.ext-footer {
	padding: 20px 15px 15px 20px;
	overflow: hidden;
	text-align: center;
	background-color: #9dcc01;
}

.copyright {
	padding: 8px 10px 8px 0;
	text-align: right;
}

.logo-section {
	display: inline-block;
	width: 25%;
}

.logo-image {
	height: 87px;
	background-image: url(../images/logo_bear.png);
	background-size: cover;
}

.logo-text {
	margin-top: 5px;
	text-align: justify;
	-moz-text-align-last: justify;
	     text-align-last: justify; 
	text-justify: distribute;
	font-size: 14px;
}

.title {
	/*display: inline-block;
	width: 500px;
	height: 150px;
	background: url(../images/title.png) no-repeat;*/
}

.cube {
	padding-top: 50px;
	/*display: inline-block;
	height: 120px;
	width: 110px;
	background: url(../images/cube.png) no-repeat;
	background-size: cover;*/
}

.cube img {
	-webkit-animation: cube 3s ease-in-out 1s infinite;	
	animation: cube 3s ease-in-out 1s infinite;
}

.tip-box {
	position: relative;
	margin: 25px 40px 0 40px;
	padding: 15px 10px 5px 10px;
	background-color: #cde482;
}

.tip-title {
	position: absolute;
	top: -12px;
    left: 50%;
   	display: inline-block;
    margin-left: -30px;
	padding: 6px;
	color: #fff;
	background-color: #7a5538;
	border-radius: 5px;
}

.tip-content {
}

/* Info page */
.info-container {
	margin: 0;
	background: url(../images/info_bg.png) no-repeat;
	background-size: 100% 100%;
}

.info-container > header {
	padding: 20px;
}

.info-container > main {
	text-align: center;
}

.form-horizontal {
	display: inline-block;
	width: 65%;
	font-size: 14px;
	text-align: left;
}

.form-group {
	position: relative;
	margin: 40px auto;
}

.form-group-sm {
	margin: 10px auto;
}

.form-horizontal label {
	display: inline-block;
	width: 38%;
}

.form-horizontal input[type=text] {
	width: 65%;
}

.form-horizontal input[type=radio] {
	margin-right: 20px;
}

.form-horizontal select {
	width: 60%;
}

.icon-gender-male {
    position: absolute;
    width: 20px;
    height: 20px;
    background: url(../images/gender_m.png);
    background-size: cover;
    z-index: -1;
}

.icon-gender-female {
    position: absolute;
    width: 18px;
    height: 24px;
    background: url(../images/gender_f.png);
    background-size: cover;
    z-index: -1;
}

/* Question page */
.question-wrapper {
	min-height: 95%;
	padding: 10px 20px; 
	padding-bottom: 50px;
	margin: 0;
	text-align: center;
	background: url(../images/info_bg.png) no-repeat;
	background-size: 100% 100%;
}

.question-wrapper > header {
	text-align: left;
}

.answer-list {
	margin-top: 30px;
	padding-left: 0;
	list-style: none;
}

.answer-listitem-image {
	float: left;
	width: 45%;
	height: 80px;
	margin-left: 5px;
	margin-right: 5px;
	text-align: center;
}

.answer-listitem-image a {
	display: -webkit-flex;
	display: flex;
	height: 100%;
    -webkit-justify-content: center;
            justify-content: center;
    -webkit-align-items: center;
            align-items: center;
}

.answer-listitem-image a > img {
	display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.answer-listitem-text {
	display: inline-block;
	width: 20%;
	margin-left: 5px;
	margin-right: 5px;
	text-align: center;
}

.answer-listitem-text a {
	display: block;
	height: 100%;
}

.question-seq > img {
	margin-right: 15px;
}

.question-seq {
	display: -webkit-flex;
	display: flex;
    -webkit-justify-content: center;
            justify-content: center;
    -webkit-align-items: center;
            align-items: center;
}

/* Result page */
.result-container {
	height: 125%;
	margin-top: 0;
	margin-bottom: 0;
	background: url(../images/welcome_bg.png) no-repeat;
	background-size: 100% 125%;
	text-align: center;
} 

.result-container > footer {
	position: absolute;
	top: 102%;
	height: 22%;
	text-align: center;
}

.point-box {
	position: relative;
	display: inline-block;
	width: 60%;
	margin-top: 30px;
	padding-top: 150px;
	color: #723504;
	border: 4px solid #723504;
	background-color: #cabbaf;
}

.point-title {
	position: absolute;
    top: -24px;
    left: 50%;
   	display: inline-block;
    margin-left: -30px;
	padding: 6px;
	color: #fff;
	background-color: #7a5538;
	border-radius: 5px;
}

.point-number {
	display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    position: absolute;
    top: 20px;
    left: 50%;
    margin-left: -60px;
    font-size: 70px;
    width: 120px;
    height: 120px;
    border-radius: 90px;
    background-color: #fff;
}

.share {
	-webkit-animation: cube 3s ease-in-out 1s infinite;	
	animation: cube 3s ease-in-out 1s infinite;
}

.corp-box {
	padding-top: 20px;
	padding-bottom: 15px;
}

.corp-col {
	display: inline-block;
	width: 40%;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: top;
}

.corp-col img {
	margin-bottom: 10px;
}

.corp-info-box {
	padding: 5px;
	text-align: justify;
	border: 4px solid #d7ea9c;
	background-color: #fff;
}

.corp-info-box h5 {
	margin-top: 0;
}

.result-tip {
	margin-top: 5px;
	margin-bottom: 5px;
	font-size: 16px;
}

.contact-box {
	margin-top: 30px;
	margin-bottom: 30px;
}

.contact-box ul {
	list-style: none;
	padding-left: 20%;
	text-align: left;
}

.contact-box ul > li {
    margin-bottom: 5px;
}

.about-container {
	text-align: center;
	background: url(../images/info_bg.png);
	background-size: cover;
}

.about-container main {
	padding-top: 15px;
}

.about-box {
	padding: 15px 10px 10px 10px;
	color: #000;
	text-align: left;
	background-color: #cde482;
}

.about-box p {
	margin-top: 2px;
	margin-bottom: 2px;
}

.about-bottom {
	margin-top: 10px;
	text-align: right;
}

.about-text-wrapper {
	margin-top: 10px;
	text-align: left;
	padding-left: 20px;
	padding-right: 20px;
	line-height: 1.6;
}

.about-text-wrapper h2 {
	margin-bottom: 0;
}

.code-side {
	float: right;
	text-align: center;
}

.info-box {
	padding-top: 30px;
	padding-left: 50px;
	text-align: left;
}

.result-submit img {
	-webkit-animation: cube 3s ease-in-out 1s infinite;	
	animation: cube 3s ease-in-out 1s infinite;
}

.clearfix:after {
	content: '';
	display: table;
	clear: both;
}

.text-welcome {
	font-size: 16px;
	margin-top: 10px !important;
	margin-bottom: 10px !important;
}

.text-formal {
	color: #000;
}

.text-narrow {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.text-result {
	font-family: "STFangsong";
}

.text-important {
	color: #ff002a;
}

.btn-primary {
	color: #fff;
	background-color: #7a5538;
}

@-webkit-keyframes cube
{
	0% { -webkit-transform:rotate(0); transform:rotate(0); }
	4% { -webkit-transform:rotate(10deg); transform:rotate(10deg); }
	8% { -webkit-transform:rotate(0); transform:rotate(0); }
	10% { -webkit-transform:rotate(-10deg); transform:rotate(-10deg); }
	15% { -webkit-transform:rotate(0); transform:rotate(0); }
}

@keyframes cube
{
	0% { -webkit-transform:rotate(0); transform:rotate(0); }
	4% { -webkit-transform:rotate(10deg); transform:rotate(10deg); }
	8% { -webkit-transform:rotate(0); transform:rotate(0); }
	10% { -webkit-transform:rotate(-10deg); transform:rotate(-10deg); }
	15% { -webkit-transform:rotate(0); transform:rotate(0); }
}

